package com.sxfq.loansupermarket.backsystem.modular.weixin.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.core.shiro.ShiroKit;
import com.sxfq.loansupermarket.backsystem.modular.marketing.entity.TongJiInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.CaseSelectionManagementInfo;
import com.sxfq.loansupermarket.backsystem.modular.remoteSynergy.entity.SearchCaseSelectionManagementInfo;
import com.sxfq.loansupermarket.backsystem.modular.weixin.config.WebChatUtil;
import com.sxfq.loansupermarket.backsystem.modular.weixin.entity.Data;
import com.sxfq.loansupermarket.backsystem.modular.weixin.entity.Data_style;
import com.sxfq.loansupermarket.backsystem.modular.weixin.entity.NewOrdersTemplate;
import com.sxfq.loansupermarket.backsystem.modular.weixin.entity.WeiXinTicketEntity;
import net.sf.json.JSONObject;
import org.springframework.ui.Model;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 *{
 *     "action_name": "QR_LIMIT_SCENE",
 *     "action_info": {
 *         "scene": {
 *             "scene_id": 123
 *         }
 *     }
 * }
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IWxService {

    //微信模板接口(预约提醒)
    void sendAppointmentMessage(String openId, String treatmentUnit, String projectData, String doctor, String reservationsNum,
                                       String customerName, String startTimeValue, String reservationsId, String customerPhone);

    //微信模板接口(术后医嘱)
    void sendMedicalAdviceMessage(String openId, String doctor, String medicalAdviceTitle, String content);

    void  sendQuestionnaire(String openId,String caseid);

    //问卷调查推送
    void  questionnaire();

    //微信模板接口(获取token)
    String getAccessToken();

    String getOpenid(String code);

    com.alibaba.fastjson.JSONObject qrCodeCreateTmpTicket(String access_token,String sceneStr);

    String qrCodePictureUrl(String ticket);
}